package com.zf.springlearn.listener;

import org.springframework.context.ApplicationEvent;

public class TestEvent extends ApplicationEvent {
    private String eventName;

    public TestEvent(Object source,String eventName) {
        super(source);
        this.eventName = eventName;
    }
    public String getEventName() {
        return eventName;
    }
}
